package com.mezizy.ifaner.global;

/**
 * Created by Zizy on 15/2/3.
 */
public class Config {
//    public static final String SERVER = "http://120.96.99.54/WebService/iFanerWebService.asmx/";
    public static final String SERVER = "http://120.96.99.70/iFanerWebService.asmx/";
    public static final String VERSION_CHECKER = "http://mezizy.com:8080/C%3A/BaiduYunDownload/ifaner/version.html";

    public static final String MOODLE_LOG_IN_URI="http://120.96.82.71/appwebservice/wsstu.asmx/GetLoginWSs";

    public static final String IFANER_LOG_IN_URI=SERVER+"iFanerLoginCheckUser";
    public static final String IFANER_ADD_USER_URI=SERVER+"iFanerNewUser";
    public static final String IFANER_GET_DISH_LIST_URI=SERVER+"getListByDishes";
    public static final String IFANER_GET_MERCHANT_LIST_URI=SERVER+"getListByMerchant";
    public static final String IFANER_GET_FREE_ID__URI=SERVER+"getNewOrderId";
    public static final String IFANER_POST_ORDER_URI=SERVER+"sendOrder";
    public static final String IFANER_GET_ORDER_LIST_USER=SERVER+"getOrderListUser";
    public static final String IFANER_GET_USER_INF=SERVER+"getUserInf";
    public static final String IFANER_GET_STORE_INF_URI =SERVER+"getStoreInf";
    public static final String IFANER_REG_GCM_ID =SERVER+"registerGcmId";

    public static final String IFANER_SIGN_UP_URI="";

    public static final boolean MOODLE_LOG_IN_SUCCESS=true;
    public static final boolean MOODLE_LOG_IN_FAILED=false;

    public static final int IFANER_LOG_IN_SUCCESS=1;
    public static final int IFANER_LOG_IN_FAILED_AU=2;
    public static final int IFANER_LOG_IN_FAILED_INTERNET=3;

    public static final int STATE_NOT_CONFIRM=0;
    public static final int STATE_CONFIRMED=1;
    public static final int STATE_FINISHED_NOT_PAY=2;
    public static final int STATE_FINISHED_PAID=3;
    public static final int STATE_CANCEL=4;
    public static final int STATE_EXCEPTION=-1;

    public static final int PASSWORD_LENGTH=6;

    public static final String SHARED_PREFERENCE="SharedPreference";
    public static final String SHARED_ID ="SharedUserId";
    public static final String SHARED_PWD_SHA ="SharedUserPwdSha";

    public static final String INTENT_MSG_ORDER_STATE_CHANGED = "isOrderStateChanged";


}
